package com.github.pig.stock;

import org.springframework.beans.propertyeditors.CustomDateEditor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.bind.ServletRequestDataBinder;
import org.springframework.web.bind.annotation.InitBinder;

import javax.servlet.http.HttpServletRequest;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author lengleng
 * @date 2017年10月27日13:59:05
 */
@EnableAsync
@ComponentScan(basePackages = {"com.github.pig.stock", "com.github.pig.common.bean"})
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class PigStockApplication {

    public static void main(String[] args) {
        SpringApplication.run(PigStockApplication.class, args);
    }
}